<?xml version="1.0" encoding="utf-8"?>
<Content xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:blueonionsoftware-com:bloget:runtime:data">
  <text>Here's a little batch file I run every night to clean and defrag my hard drive.

&lt;code&gt;
@echo off
time /T
:: --------------------------------------------------------------------------------
c:
cd "C:\Documents and Settings\mrward\Local Settings\Temp"
del /q /s /f *.*
:: --------------------------------------------------------------------------------
cd "C:\Documents and Settings\mrward\Local Settings\Temporary Internet Files"
del /q /s /f *.*
:: --------------------------------------------------------------------------------
time /T
echo Start Cleanmgr.exe
cleanmgr /sagerun:99
:: --------------------------------------------------------------------------------
time /T
defrag.exe c:
:: --------------------------------------------------------------------------------
time /T
exit
&lt;/code&gt;

Most of this is obvious but I will point out the &lt;strong&gt;cleanmgr /sagerun:99&lt;/strong&gt; line. Cleanmgr supports profiles (actually registry entries)  that allow you to specify what you want Cleanmgr to do. You can look up how to configure it in the online help or go to &lt;a href="http://support.microsoft.com/default.aspx?scid=KB;EN-US;315246"&gt;http://support.microsoft.com/default.aspx?scid=KB;EN-US;315246&lt;/a&gt;.</text>
  <last_update>2007-10-04T00:52:20.7380806Z</last_update>
  <source_title />
  <source_link />
  <comments />
  <references />
  <attachments />
</Content>